-
Notifications
You must be signed in to change notification settings - Fork 997
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metrics: export meta backup metrics #4480
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4480 +/- ##
==========================================
- Coverage 55.37% 55.34% -0.03%
==========================================
Files 157 157
Lines 41207 41222 +15
==========================================
- Hits 22819 22816 -3
- Misses 15859 15881 +22
+ Partials 2529 2525 -4 ☔ View full report in Codecov by Sentry. |
logger.Infof("backup metadata succeed, used %s", time.Since(now)) | ||
} else { | ||
logger.Warnf("backup metadata failed: %s", err) | ||
} | ||
LastBackupDurationG.Set(time.Since(now).Seconds()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we have a label to indicate success/failure?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can know that when last_sucessfull_backup
is not updated.
close #4454